package com.normal.practise;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author Siyao, Lee
 * @date 2021-05-08 10:46
 * 启动类
 */
// @CrossOrigin 跨域的注解
@SpringBootApplication
@EnableSwagger2
@ComponentScan({"com.normal"})
public class PractiseApplication {
    public static void main(String[] args) {
        SpringApplication.run(PractiseApplication.class, args);
    }
}
